package com.team7.home.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.team7.common.entity.Course;

import com.team7.common.entity.ZoneCourse;
import com.team7.home.util.ShujuUtil;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ZoneCourseDao extends BaseMapper<ZoneCourse> {
    Page<ShujuUtil> getAllDetail(@Param("page") Page<ShujuUtil> page,
                                 @Param("id") String id,
                                 @Param("courseTitle") String courseTitle,
                                 @Param("isDisable") Integer isDisable);

    List<Course> getAllCourseById(String id);
}
